package be.gwi.alfresco.run.config;

/**
 * The Run Challenge general configuration.
 * 
 * @author gabriel.willems@gmail.com
 * 
 * @version 1.0
 * @since 1.0
 */
public class RunConfig {

    private int runningPoint  = 4;
    private int cyclingPoint  = 1;
    private int swimmingPoint = 23;

    /**
     * Initializes the config.
     * 
     * Verifies that all the attributes have been set.
     * 
     * @throws IllegalArgumentException
     *             if not all attributes have been set.
     */
    public void init() {
    }

    /**
     * @return the runningPoint
     */
    public int getRunningPoint() {
        return runningPoint;
    }

    /**
     * @param runningPoint
     *            the runningPoint to set
     */
    public void setRunningPoint(int runningPoint) {
        this.runningPoint = runningPoint;
    }

    /**
     * @return the cyclingPoint
     */
    public int getCyclingPoint() {
        return cyclingPoint;
    }

    /**
     * @param cyclingPoint
     *            the cyclingPoint to set
     */
    public void setCyclingPoint(int cyclingPoint) {
        this.cyclingPoint = cyclingPoint;
    }

    /**
     * @return the swimmingPoint
     */
    public int getSwimmingPoint() {
        return swimmingPoint;
    }

    /**
     * @param swimmingPoint
     *            the swimmingPoint to set
     */
    public void setSwimmingPoint(int swimmingPoint) {
        this.swimmingPoint = swimmingPoint;
    }

}